<template>
	<!-- <UserInfo :username='name' :avatar="imgsrc"></UserInfo> -->
	<UserInfo v-for="(item,index) in userinfo" :obj="item"></UserInfo>
</template>

<script setup>
import { ref } from 'vue';
const userinfo = ref([
	{name:'小明',avatar:"../../static/pic1.jpg"},
	{name:'李四',avatar:"../../static/pic1.jpg"},
	{name:'小美',avatar:"../../static/pic1.jpg"},
])
	
</script>

<style lang="scss">
	
</style>

